home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / quicktime / goodies / offscreen.win / qtcode.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  1.3 KB  |  39 lines

  1. /*
  2.     File:        QTCode.h
  3.  
  4.     Contains:    QuickTime 3.0 Offscreen sample application.
  5.  
  6.     Written by:    Scott Kuechle
  7.  
  8.     Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.        <1>         4/24/98        srk        first file
  13.         
  14.  
  15.  NOTES:
  16.  
  17.  
  18.  TO DO:
  19.  
  20. */
  21.  
  22.  
  23. #include "Application.h"
  24.  
  25.  
  26. void        QTCode_PositionMovieRectInClientWindow(Movie theMovie, HWND    hwnd);
  27. TimeValue    QTCode_DoGetMovieNextInterestingTime(TimeValue    currentTime, Movie    theMovie, OSType    mediaType);
  28. GrafPtr        QTCode_DoCreatePortAssociation(void *theWnd, Ptr storage, long     flags);
  29. void        QTCode_DisposeMovieAndController(Movie theMovie, short movRefNum);
  30. void        QTCode_DoDestroyPortAssociation(HWND hwnd);
  31. BOOL        QTCode_DoQTInit();
  32. void        QTCode_QTCleanUp();
  33. OSErr        QTCode_NewMovieFromWinPathname(char    *pathName, Movie *theMovie, short *movieRefNum, short *movieResId);
  34. OSErr        QTCode_GetStartPointOfFirstVideoSample(Movie theMovie, TimeValue *startPoint);
  35. QDErr        QTCode_CreateOffscreen(GWorldPtr *offscreenGWorld, CTabHandle cTable, GDHandle aGDevice, GWorldFlags flags, HBITMAP    newHBITMAP, HDC newHDC);
  36. void        QTCode_DoDestroyOffscreen(GWorldPtr offscreen, HBITMAP    hBitmap);
  37. void        QTCode_SetMovieGWorld(Movie theMovie, GWorldPtr offscreen);
  38. void        QTCode_ForceMovieRedraw(Movie theMovie);
  39.